#!/usr/bin/python
class Config:
    '配置类'
    # 配置组
    config_arr = {}

    def set(self, key, value):
        ''' 设置配置内容 '''
        self.config_arr[key] = value

    def get(self, key):
        if key in self.config_arr:
            return self.config_arr[key]
        return ''

    def uset(self, key):
        if key in self.config_arr:
            del[self.config_arr[key]]

    def getAll(self):
        return self.config_arr
